jQuery(document).ready(function() {  

         //表单提交  
         $("#addrs").bind("click", function() {  
                 $.ajax({  
                    type: "POST",  
                    url: "contral.jsp",                        //处理注册信息
                    data: $("form#registform").serialize(),
                    dataType:"json",                          
                    success: getaddress(data,textStatus)
                 });   
             });  

 }); 